CFLAGS=-Wall
#SUBDIRS=project1
bin_PROGRAMS=service client
service_SOURCES=server.c disk_reader.c cache.c util.c
service_LDFLAGS=-pthread
service_LDADD=-lm

client_SOURCES=client.c output.c output.h
client_LDFLAGS=-pthread
client_LDADD=-lm

all: copy
copy:
	cp service ./bin
	cp client ./bin

clean:
	$(RM) -f ./bin/client ./bin/service
	$(RM) -f *.o
